import layout from '@/layout/'
const meta = { auth: false}
export default {
    path: '/base-rate',
    name: 'base-rate',
    meta,
    redirect: { name: 'base-rate-index' },
    component: layout,
    children: (pre => [
        {
            path: 'index',
            name: `${pre}index`,
            component: () => import('@/pages/base-rate/index'),
            meta: { ...meta, title: '基础率设置' }
        },
        {
            path: 'fast-setting',
            name: `${pre}fast-setting`,
            component: () => import('@/pages/base-rate/fast-setting'),
            meta: { ...meta, title: '基础率快设' }
        },
        {
            path: 'base-setting',
            name: `${pre}base-setting`,
            component: () => import('@/pages/base-rate/base-setting'),
            meta: { ...meta, title: '基础率设置' }
        },
        {
            path: 'history',
            name: `${pre}history`,
            component: () => import('@/pages/base-rate/history-view'),
            meta: { ...meta, title: '基础率回顾' }
        },
        {
            path: 'plan',
            name: `${pre}plan`,
            component: () => import('@/pages/base-rate/plan'),
            meta: { ...meta, title: '基础率方案' }
        },
        {
            path: 'temporary-setting',
            name: `${pre}temporary-setting`,
            component: () => import('@/pages/base-rate/temporary-setting'),
            meta: { ...meta, title: '临基率设置' }
        },
        {
            path: 'plan-detail',
            name: `${pre}plan-detail`,
            component: () => import('@/pages/base-rate/PlanDetail'),
            meta: { ...meta, title: '计划详细' }
        },{
            path: 'planUse',
            name: `${pre}planUse`,
            component: () => import('@/pages/base-rate/PlanUse'),
            meta: { ...meta, title: '使用计划' }
        },
    ])('base-rate-')
}